class Number
{  
    public static void main(String[] args)   
    {  
        int[]arr=new int[]{70,80,31,37,10,1,48,60,33,80};  
        for (int c=0;c<arr.length ;c++ )  
        {  
            for (int b=c+1;b<arr.length;b++ )  
            {  
                if(arr[c]>arr[b])  
                {  
                    int tep=arr[c];
                    arr[c]=arr[b];  
                    arr[b]=tep;  
                }  
            }  
            System.out.print(arr[c]+" "); 
        }  
    }  
}